package pl.koziolekweb.szkola.LASerialNet;

// LA-SerialNet/MySerwPanel.java
 
import java.util.ArrayList;
import java.awt.Graphics;
import javax.swing.JPanel;

class MySerwPanel extends JPanel {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	ArrayList<Kreska> kreski = new ArrayList<Kreska>();

    public void paintComponent(Graphics g) {
        super.paintComponent(g);
        for (Kreska k : kreski)
            k.narysujSie(g);
    }
}
